.Paper {
  // margin: 9q;
  padding: 9q;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9q;

  > div {
    // margin: 9q;
    padding: 9q;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9q;
    width: 100%;

    div:global(.MuiCollapse-root.MuiCollapse-vertical) {
      width: 100%;

      .Input {
        // display: flex;
        // flex-wrap: wrap;
        // flex-direction: initial;
        // gap: 9q;
        // align-items: center;
        // justify-content: space-between;
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        @media screen and (orientation:portrait) {
          grid-template-columns: repeat(1, 1fr);
        }

        /* 创建三个等宽的列，每列宽度都是容器的三分之一 */
        grid-gap: 9q;

        > div {
          padding: 9q;
          display: flex;
          justify-items: center;
          align-items: center;
          gap: 9q;
          flex: 1;

          span {
            white-space: nowrap;
          }
        }
      }

    }

    // div:global(.MuiCollapse-root.MuiCollapse-vertical.MuiCollapse-entered) {
    // width: 100%;

    &.sqlInput {
      width: 100%;
      transition: .1s;

      > div:last-child {
        width: 100%;

        .AccordionDetails {
          display: flex;
          flex-direction: column;
          gap: 9q;
          justify-content: center;
        }
      }

      * {
        transition: .1s;
      }
    }

    // }


    .last {
      order: 1;
      // flex: 1;
      // min-width: 15%;
      grid-column: 1 / -1;

      > span:nth-of-type(2) {
        // min-width: 3%;
        white-space: nowrap;
        margin-right: 9q;
      }
    }

    &.fullWidth {
      padding: initial;

      > div {
        width: 100%;
      }
    }

    .aLink {
      color: #06c;
      cursor: pointer;

      &:hover {
        text-decoration: underline;
      }
    }

    // .TableFooter {
    //   text-align: center;
    // }
  }
}

// .Snackbar {
//   left: 50% !important;
//   transform: translateX(-50%);

//   > div {
//     margin: 0 auto;
//   }
// }

.Skeleton {
  height: 97vh !important;
  overflow: hidden;
}

.dialog {

  // border: solid;
  :global(.MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded.MuiPaper-elevation24.MuiDialog-paper.MuiDialog-paperScrollPaper.MuiDialog-paperWidthSm) {
    display: flex;
    flex-direction: column;
    gap: 9q;
    padding: 3%;

    h1 {
      text-align: center;
    }
  }
}